/*ParallelPlatform Project - A web platform to distribute and share knowledge
Copyright (C) 2011  Daniel Guerrero Martinez & Sergio Rodriguez Lumley

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.*/


GENTICS.Aloha.settings = {
	logLevels: {'error': true, 'warn': true, 'info': true, 'debug': false},
	errorhandling : false,
	ribbon: false,
	"i18n": {
		"current": "es"
	},
	"plugins": {
		"com.gentics.aloha.plugins.Format": {
			// all elements with no specific configuration get this configuration
			config : ["b", "i", "sub", "sup", "p", "h1", "h2", "h3", "h4", "h6","pre", "removeFormat"],
			editables : {
				'#title' : []
			}
		},
		"com.gentics.aloha.plugins.Link": {
			config : [ 'a' ],
			editables : {
				'#title' : []
			},
			objectTypeFilter: ['website'],
			onHrefChange: function( obj, href, item ) {
				if ( item ) {
					jQuery(obj).attr('data-name', item.name);
				} else {
					jQuery(obj).removeAttr('data-name');
				}
			}
		},
		"com.gentics.aloha.plugins.List" : {
			config : [ 'ul', 'ol' ],
			editables : {
				'#title': [ ]
			}
		},
		"com.gentics.aloha.plugins.Table" : {
			config : [ 'table' ],
			editables : {
				'#title': [ ]
			}
		}
	}
};







